POV-Ray : Newsgroups : povray.newusers : Wrong reflection... : Wrong reflection... Server Time
31 Jul 2024 06:11:48 EDT (-0400)
  Wrong reflection...  
From: Jerome
Date: 21 Dec 2002 03:40:06
Message: <web.3e042851f909ebf5ff8bc1340@news.povray.org>
Hi All,

I try to copy some POV sources to create a beam splitter, but irremediatly
it fails. The reflected laser beam goes in the wrong direction (and nothing
is transmitted). I join the code source.

Thanks in advance,

Cheers,

Jerome

-------------------------------------------------------------------------

#include "colors.inc"


  global_settings {
                   max_trace_level 5
                   photons {
                            count 20000
                            autostop 10
                            media 100
                            jitter 0
                           }
                   }


camera {
        orthographic
        location  <200, 200, 0>
        look_at   <0, 0, 100>
       }


media {
       scattering {0.5, color White extinction 0}
       method 3
       intervals 1 samples 4
      }


light_source { <0,0,-400> Red
               spotlight
               point_at <0,0,400>
               cylinder
               parallel
               radius 3.1 falloff 3.2
               tightness 1
               media_interaction on
             }


light_source {<800, 800, 400>, color White
             photons {refraction off reflection off}
             media_interaction off
             }


plane { y, -200
       pigment {
                checker color HuntersGreen color SummerSky
                scale 50
                scale <3, 1, 3>
               }
    finish {
            ambient 0.2
            diffuse 0.6
           }
      }



prism   {
        linear_spline
        -25, 25, 3,
        <-25,150>, <-25,100>, <25,150>
        pigment{rgbt<0,0,0,1>}
        finish  {
                ambient 0
                diffuse 0
                reflection 0.5
                }
        interior{ior 1.5}
        photons{
        target
        reflection on
        refraction on
        collect on
               }
        }


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.